﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'PRC_TB_GROUPS_DE')
	BEGIN
		DROP  Procedure  dbo.PRC_TB_GROUPS_DE
	END

GO

create procedure [dbo].[PRC_TB_GROUPS_DE] 
(
    @TGID Integer 
)
AS
	DELETE FROM TB_GROUPS
	where TG_ID = @TGID


GO

GRANT EXEC ON dbo.PRC_TB_GROUPS_DE TO PUBLIC

GO

